﻿namespace Webinator.WebClient
{
    /// <summary>
    /// Provides information about a file.
    /// </summary>
    public class FileToUpload
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="FileToUpload"/> class.
        /// </summary>
        /// <param name="fileLocation">
        /// The file location.
        /// </param>
        /// <param name="mimeType">
        /// The mime type.
        /// </param>
        /// <param name="formKey">
        /// The form key.
        /// </param>
        public FileToUpload(string fileLocation, string mimeType, string formKey)
        {
            FileLocation = fileLocation;
            MimeType = mimeType;
            FormKey = formKey;
        }

        /// <summary>
        /// Gets or sets the file location.
        /// </summary>
        public string FileLocation { get; set; }

        /// <summary>
        /// Gets or sets the mime type.
        /// </summary>
        public string MimeType { get; set; }

        /// <summary>
        /// Gets or sets the form key.
        /// </summary>
        public string FormKey { get; set; }
    }
}